/**
 * Prostokat.h
 *
 * Version: $Id: Prostokat.h 81 2012-01-07 12:13:13Z s8376@pjwstk.edu.pl $
 */

#ifndef PROSTOKAT_H_
#define PROSTOKAT_H_

#include "Kwadrat.h"

class Prostokat: public Kwadrat
{
    protected:
        int m_height;
    public:
        Prostokat(int x, int y, int width, int height) :
            Kwadrat(x, y, width), m_height(height)
        {
        }
        virtual void show();
        virtual double getArea();
};

#endif /* PROSTOKAT_H_ */
